# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgname=unix-privesc-check
pkgver=1.4
pkgrel=7
groups=('blackarch' 'blackarch-automation' 'blackarch-scanner')
pkgdesc='Tries to find misconfigurations that could allow local unprivilged users to escalate privileges to other users or to access local apps (e.g. databases).'
url='http://pentestmonkey.net/tools/audit/unix-privesc-check'
arch=('any')
license=('GPL2')
source=("http://pentestmonkey.net/tools/$pkgname/$pkgname-$pkgver.tar.gz")
sha512sums=('a15e35bca7e6a564613a3b982516294d16d1f3cd6bb0b1eb3fd49ada1093e93ed4ca78837dbded90c630de5583b84ff368df8e52da47cdc5cd446cab4654320a')

package() {
  cd "$pkgname-$pkgver"

  install -Dm 755 $pkgname "$pkgdir/usr/bin/$pkgname"
  install -Dm 644 -t "$pkgdir/usr/share/doc/$pkgname/" CHANGELOG
}

